<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("basePath", basePath);
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>导航编辑</title>
<link rel="stylesheet"
	href="${basePath }/admin/bower_components/bootstrap/dist/css/bootstrap.min.css">
</head>
<body>
	<form class="form-horizontal"
		action="${basePath }admin/editSpecial.action" method="post">

		<input type="hidden" name="id" value="${special.id }">

		<div class="form-group">
			<label for="InputName" class="col-sm-2 control-label">名称</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" value="${special.name }"
					id="InputName" name="name" placeholder="名称">
			</div>
		</div>
		<div class="form-group">
			<label for="InputTvs" class="col-sm-2 control-label">电视剧</label> <label
				class="checkbox-inline"> 
				<c:forEach items="${tvList }" var="tvs">
				<input type="checkbox" name="name" id="inlineCheckbox1" value="option1"> ${tvs.name }</label> 
				</c:forEach>
	
		</div>
		<div class="form-group">
			<label for="inputStatus" class="col-sm-2 control-label">状态</label>
			<div class="col-sm-10">
				<select name="status" class="form-control">
					<option value="1">启用</option>
					<option value="0">未启用</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">提交</button>
			</div>
		</div>
	</form>

</body>
</html>